# lib/tasks/gettext.rake
require 'gettext/utils'

desc "Create mo-files"
task :makemo do
  GetText.create_mofiles(true, "po", "locale")
end

desc "Update pot/po files."
task :updatepo do
  GetText.update_pofiles( "jpkc", 
                          Dir.glob("{app,config,components,lib}/**/*.{rb,rhtml,rjs,erb}"),  
                          "jpkc 1.0.0" )
end
